package com.xx.eshop.entity;

import java.util.List;

public class Attr {
	//  {id:1 , name: 'zz', sort:11, category_id:01}
	private int id;
	

	private String name;
	private int sort;
	private Integer category_id;
	private List<AttrValue> attrValues;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public List<AttrValue> getAttrValues() {
		return attrValues;
	}

	public void setAttrValues(List<AttrValue> attrValues) {
		this.attrValues = attrValues;
	}

	

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public Integer getCategory_id() {
		return category_id;
	}

	public void setCategory_id(Integer category_id) {
		this.category_id = category_id;
	}

	@Override
	public String toString() {
		return "Attr [id=" + id + ", name=" + name + ", sort=" + sort + ", category_id=" + category_id + "]";
	}

}
